package com.free.chat.entity.model;

import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;

import java.util.Date;

@Data
@AllArgsConstructor
@NoArgsConstructor
@Accessors(chain = true)
@TableName("topic_comment")
public class TopicComment {

    @TableId("id")
    private Long id;

    private String topicComment;

    private Long topicId;

    private Long commentId;

    private Long userId;

    /**
     * 评论给谁
     */
    private Long commentToUserId;

    /**
     * 0否   1是
     */
    private Boolean deleted;

    private Date createTime;
}
